<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<%@ taglib uri="http://www.longtop.com/intelliweb" prefix="e"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<e:View id="view">
    <script type="text/javascript" src="<c:url value='/scripts/indexglobal.js'/>"></script>
	<script type="text/javascript" src="<c:url value='/scripts/skin.js'/>"></script>
    <script type="text/javascript">SkinUtil.getSkin();</script>
    <script type="text/javascript">SkinUtil.getModuleSkin();</script>

<div id="Invisual Controls" style="min-height: 40px; background-color: LemonChiffon;" >
	
	<e:Dataset id="Dataset_Menu" datasetDefinition="DatasetDefinition.dsd" datasetRef="Dataset_Menu" pageSize="-1" loadDataCommand="Command_load">
		<e:Field name="menuId" dataType="string" label="菜单编号" maxLength="32" required="true" />
		<e:Field name="menuName" dataType="string" label="菜单名称" maxLength="200" required="true" />
		<e:Field name="parentMenuId" dataType="string" label="PARENT_ID" maxLength="32" />
		<e:Field name="menuUrl" dataType="string" label="URL" maxLength="200" />
		<e:Field name="isRelativePath" dataType="string" label="IS_RELATIVE_PATH" maxLength="1" />
		<e:Field name="imageUrl" dataType="string" label="IMAGE" maxLength="200" />
		<e:Field name="isEnabled" dataType="string" label="IS_ENABLED" maxLength="1" />
		<e:Field name="isVisible" dataType="string" label="IS_VISIBLE" maxLength="1" />
		<e:Field name="target" dataType="string" label="TARGET" maxLength="200" />
		<e:Field name="sortNo" dataType="integer" label="同级菜单顺序号" maxLength="3" required="true" /> 
		<e:Field name="command" dataType="string" label="COMMAND" maxLength="200" />
		<e:Field name="tips" dataType="string" label="TIPS" maxLength="200" />
		<e:Field name="onclick" dataType="string" label="ONCLICK" maxLength="200" />
		<e:Field name="remark" dataType="string" label="REMARK" maxLength="200" />
	</e:Dataset>
	<e:Command id="Command_load" action="com.longtop.framework.sys.menu.web.MenuDropdownAction"	method="loadMenu" showHintInfoOnSuccess="false">
			<e:DatasetInfo name="DatasetInfo1" dataset="Dataset_Menu"></e:DatasetInfo>
	</e:Command>
</div>
<body>
<e:Page id="ePage" action="com.longtop.framework.sys.menu.web.MenuDropdownAction" style="width: 98%; height: 100%;">
	<table style="width: 100%; height: 100%;" border="0" cellpadding="2" cellspacing="2" align="center">
		<tr>
			<td align="left" valign="top">						
				<table style="text-align: left; width: 100%;" border="0" cellpadding="3" cellspacing="3" align="center">
					<tr>
						<td align="left">
							<e:DataTree	id="DataTree_Menu" dataset="Dataset_Menu" nameField="menuId" valueField="menuId"
									parentField="parentMenuId" labelField="menuName"
									style="border-color:#3ABCFA;width: 100%; height: 300; text-align: left"
									showRoot="true" rootLabel="菜单树" lazyLoading="true"
									useDefaultFolderIcon="true" contextMenuItems="expand,collapse"></e:DataTree>
						</td>
					</tr>
				</table>
			</td>
		</tr>
    </table>
</e:Page>
</body>
</e:View>
</html>